import { Entity, AutoIncrementId, CreateDate, PrimaryUuid, Title, Name, Digdit } from "@sker/core";

@Entity({ name: 'sys_attachment_category' })
export class SysAttachmentCategory {
    @PrimaryUuid()
    id: string;

    @AutoIncrementId()
    cid: number;

    @Title()
    title: string;

    @Name()
    name: string;

    @CreateDate()
    create_date: Date;

    @Digdit({ nullable: true })
    width: number;

    @Digdit({ nullable: true })
    height: number;
}